import dayjs from 'dayjs'
export default [
  {
    title: 'Client Name',
    dataIndex: 'fullName',
    key: 'fullName',
    width: 200
  },
  {
    title: 'Type',
    dataIndex: 'clientKindName',
    key: 'clientKindName',
    width: 130
  },
  {
    title: 'AM',
    dataIndex: 'am',
    key: 'am'
  },
  {
    title: 'PM',
    dataIndex: 'pm',
    key: 'pm'
  },
  {
    title: 'Last Update',
    dataIndex: 'createOn',
    key: 'createOn',
    width: 180,
    customRender: ({ text }) => (text ? dayjs(text).format('YYYY-MM-DD HH:mm') : '--')
  },
  {
    title: 'Details',
    key: 'details',
    width: 220,
    align: 'center'
  }
]
